{% extends "admin_base.html" %}
{% load humanize %}

{% block container %}
<div class="row">
  <div class="span12">
    <table class="table table-striped table-bordered">
      <thead>
        <tr>
          <th>Reviewer</th>
          <th>Reviewee</th>
          <th>Written</th>
          <th>Votes</th>
          <th>Review</th>
        </tr>
      </thead>
      <tbody>
        {% for review in reviews %}
          <tr>
            <td>{{review.user.get_profile.number}}</td>
            <td>{{review.number}}</td>
            <td>{{review.date|naturaltime}}</td>
            <td>{{review.votes}}</td>
            <td>
              {{review.text}}
            </td>
          </tr>
        {% endfor %}
      </tbody>
    </table>
  </div>
</div>
{% endblock container %}